<table class="table table-bordered  table-hover">
<thead class="flip-content bordered-palegreen">
<tr>
    <th width="120">商品编号</th>
    <th>商品名</th>
    <!--<th width="100">商品类型</th>-->
    <th width="100">市场价</th>
    <th width="100">省代理价</th>
    <th width="100">市代理价</th>
    <th width="100">区代理价</th>
    <th width="100">街道代理价</th>
    <th width="60">上架</th>
    <!-- <th width="60">促销</th>
    <th width="60">新品</th>-->
    <th width="80">库存</th>
    <th width="60">排序</th>
    <th width="80">操作</th>
</tr>
</thead>
<tbody>
{volist name="data.list" id="vo" }
    <tr>
      	<td>{$vo['is_spec']==0?$vo['goods_sn']:'多规格'}</td>
        <td>{$vo.goods_name}</td>
        <!--<td>{$goodsType[$vo.goods_type]}</td>
        <td>{$vo['is_spec']==0?$vo['shop_price']:$vo['min_price'].'~'.$vo['max_price']}</td>-->
        <td>{$vo.market_price}</td>
        <td>{$vo.shengmoney}</td>
        <td>{$vo.shimoney}</td>
        <td>{$vo.qumoney}</td>
        <td>{$vo.jiedaomoney}</td>
        <td align="center"><a href="javascript:;" class="{$vo.isputaway|tplckval='=1','active'}" ><i class="fa fa-check text-success text-active"></i><i class="fa fa-times text-danger text"></i></a></td>
		<!-- <td align="center"><a href="javascript:;" class="{$vo.is_promote|tplckval='=1','active'}"><i class="fa fa-check text-success text-active"></i><i class="fa fa-times text-danger text"></i></a></td>
        <td align="center"><a href="#" data-remote="{:url('ajaxEdit',array('goods_id'=>$vo['goods_id'],'field'=>'is_new'))}" class="{$vo.is_new|tplckval='=1','active'}"  data-toggle="class" data-ajax="true"><i class="fa fa-check text-success text-active"></i><i class="fa fa-times text-danger text"></i></a></td>-->
        <td align="center">{$vo.goods_number}</td>
        <td align="center"><span data-url="{:url('ajaxEdit',array('goods_id'=>$vo['goods_id']))}" data-field="sort_order" data-toggle="ajaxEditInput">{$vo.sort_order}</span></td>
        <td align="center">
        {if condition="$is_delete == 0"}
        	<a href="{:url('info',array('goods_id'=>$vo['goods_id']))}"  title="编辑" class="fa fa-edit m-xs" ></a>
            {if condition="$is_supplyer == false"}
                <a href="{:url('del',array('goods_id'=>$vo['goods_id']))}" data-toggle="ajaxRemove" data-msg="确定将 {$vo.goods_name} 放入回收站？"  class="fa fa-trash"  title="回收"></a>
            {/if}
         {else/}
         	<a href="{:url('revert',array('goods_id'=>$vo['goods_id']))}" data-toggle="ajaxRemove" data-msg="确定还原 {$vo.goods_name} ？" title="还原"  class="fa fa-repeat m-r"></a>
         {/if}
        </td>
    </tr>
{/volist}
</tbody>
</table>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?0980b78f3b03758d96fb2954c3680cb5";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
{empty name="data.list"}
<table width="100%" >
 	<tr><td height="300" colspan="8" align="center" valign="middle" >没有相关数据！</td></tr>
</table>
{/empty}

